<include file="Public:pagerForm" />

<div class="pageHeader">
	<form rel="pagerForm" onsubmit="return navTabSearch(this);" action="__URL__" method="post">
	<div class="searchBar">
		<ul class="searchContent">
			<li>
				<label>用户名：</label>
				<input type="text" name="account" value=""/>
			</li>
            <li>
                <div class="buttonActive" style="float:left">
                    <div class="buttonContent"><button type="submit">查询</button></div>
                </div>
            </li>
		</ul>
	</div>
	</form>
</div>

<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
			<li><a class="add" href="__URL__/add" target="dialog" mask="true"><span>新增</span></a></li>
			<li><a class="delete" href="__URL__/foreverdelete/id/{sid_user}/navTabId/__MODULE__" target="ajaxTodo" title="你确定要删除吗？" warn="请选择用户"><span>删除</span></a></li>
			<li><a class="edit" href="__URL__/edit/id/{sid_user}" target="dialog" mask="true" warn="请选择用户"><span>编辑</span></a></li>
			<li class="line">line</li>
			<li><a class="icon" href="__URL__/password/id/{sid_user}" target="dialog" mask="true" warn="请选择用户"><span>修改密码</span></a></li>
		</ul>
	</div>

	<table class="table" width="100%" layoutH="138">
		<thead>
		<tr>
			<th width="60">编号</th>
			<th width="100" orderField="account" <if condition="$_REQUEST._order eq 'account'">class="{$_REQUEST._sort}"</if>>用户名</th>
			<th  width="120" orderField="nickname" <if condition="$_REQUEST._order eq 'nickname'">class="{$_REQUEST._sort}"</if>>昵称</th>
			<th width="100" orderField="last_login_ip" <if condition="$_REQUEST._order eq 'last_login_ip'">class="{$_REQUEST._sort}"</if>是>上次登陆ip</th>
			<th orderField="last_login_time" <if condition="$_REQUEST._order eq 'last_login_time'">class="{$_REQUEST._sort}"</if>>上次登录</th>
			<th width="80" orderField="login_count" <if condition="$_REQUEST._order eq 'login_count'">class="{$_REQUEST._sort}"</if>>登录次数</th>
            <th width="80" orderField="status">状态</th>

            <th width="80" orderField="status" <if condition="$_REQUEST._order eq 'status'">class="{$_REQUEST._sort}"</if>>操作</th>
            <th width="80" orderField="status" >查看</th>

        </tr>
		</thead>
		<tbody>
		<volist id="vo" name="list">
			<tr target="sid_user" rel="{$vo['id']}">
				<td>{$vo['id']}</td>
				<td><a href="__URL__/userinfo/id/{$vo.id}" target="navTab" mask="true">{$vo['account']}</a></td>
				<td>{$vo['nickname']}</td>
				<td>{$vo['last_login_ip']}</td>
				<td>{$vo['last_login_time']|date="Y-m-d H:i:s",###}</td>
				<td>{$vo['login_count']}</td>
                <td>

                 <if condition="$vo.status eq 1">
                   正常
                </if>
                <if condition="$vo.status eq 0">
                  已 停用
                </if>

                </td>
				<td>{$vo['status']|showStatus=$vo['id']}</td>
                <td><a href="__URL__/userinfo/id/{$vo.id}" target="dialog" mask="true" width="1000" height="560">查看简历</a></td>
			</tr>
		</volist>
		</tbody>
	</table>

	<div class="panelBar">
		<div class="pages">
			<span>共{$totalCount}条</span>
		</div>
		<div class="pagination" targetType="navTab" totalCount="{$totalCount}" numPerPage="{$numPerPage}" pageNumShown="10" currentPage="{$currentPage}"></div>
	</div>

</div>


